From 59c8fdff29c817bfcbe08bdcf583c862a95b7993 Mon Sep 17 00:00:00 2001 From: Mohammed Sadiq Date: Thu, 7 Jun 2018 15:44:14 +0530 Subject: [PATCH] font-button: Suggest non deprecated function in docs gtk_font_button_get_font_name() has been deprecated in 3.22 and its public API is removed from GTK4. --- gtk/gtkfontbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c index 33dd4df027..b2dc3a3df1 100644 --- a/gtk/gtkfontbutton.c +++ b/gtk/gtkfontbutton.c @@ -548,7 +548,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass) * @widget: the object which received the signal. * * The ::font-set signal is emitted when the user selects a font. - * When handling this signal, use gtk_font_button_get_font_name() + * When handling this signal, use gtk_font_chooser_get_font() * to find out which font was just selected. * * Note that this signal is only emitted when the user -- 2.30.2